//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.common.base;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

public class BaseVO implements Serializable {
    private static final long serialVersionUID = 8964691879867105980L;
    @ApiModelProperty(value = " Id",name = "id",example = "11",required=false)
    private Integer id;
    @ApiModelProperty(value = "创建者",name = "creator",example = "lying",required=false)
    private String creator;
    @ApiModelProperty(value = "创建者Id",name = "creatorId",example = "11",required=false)
    private Integer creatorId;
    @ApiModelProperty(value = "修改者",name = "updator",example = "张三",required=false)
    private String updator;
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    @ApiModelProperty(value = "版本",name = "version",example = "1",required=false)
    private Integer version;


    public Integer getId() {
        return this.id;
    }

    public String getCreator() {
        return this.creator;
    }

    public Integer getCreatorId() {
        return this.creatorId;
    }

    public String getUpdator() {
        return this.updator;
    }

    public Integer getVersion() {
        return this.version;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public void setCreatorId(Integer creatorId) {
        this.creatorId = creatorId;
    }

    public void setUpdator(String updator) {
        this.updator = updator;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public BaseVO(Integer id, String creator, Integer creatorId, String updator, Integer version) {
        this.id = id;
        this.creator = creator;
        this.creatorId = creatorId;
        this.updator = updator;
        this.version = version;
    }

    public BaseVO() {
    }

    public String toString() {
        return "BaseVO(id=" + this.getId() + ", creator=" + this.getCreator() + ", creatorId=" + this.getCreatorId() + ", updator=" + this.getUpdator() + ", version=" + this.getVersion() + ")";
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof BaseVO)) {
            return false;
        } else {
            BaseVO other = (BaseVO)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label64: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label64;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label64;
                    }

                    return false;
                }

                Object this$creator = this.getCreator();
                Object other$creator = other.getCreator();
                if (this$creator == null) {
                    if (other$creator != null) {
                        return false;
                    }
                } else if (!this$creator.equals(other$creator)) {
                    return false;
                }

                Object this$creatorId = this.getCreatorId();
                Object other$creatorId = other.getCreatorId();
                if (this$creatorId == null) {
                    if (other$creatorId != null) {
                        return false;
                    }
                } else if (!this$creatorId.equals(other$creatorId)) {
                    return false;
                }

                Object this$updator = this.getUpdator();
                Object other$updator = other.getUpdator();
                if (this$updator == null) {
                    if (other$updator != null) {
                        return false;
                    }
                } else if (!this$updator.equals(other$updator)) {
                    return false;
                }

                Object this$version = this.getVersion();
                Object other$version = other.getVersion();
                if (this$version == null) {
                    if (other$version == null) {
                        return true;
                    }
                } else if (this$version.equals(other$version)) {
                    return true;
                }

                return false;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof BaseVO;
    }


}
